<%@ page language="java" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String id=request.getParameter("id");		
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<base href="<%=basePath%>"/>
	<head>
		<title>粮油集团办公自动化协作平台</title>

		<script type="text/javascript">
		function submitform1()
		{
			//alert("aa");
			var contest = $("#contest").val();
			if(contest==""){
				Ext.MessageBox.show({ title:Ext.systemTitle,
				   msg: '批示的内容不能为空！',
				   buttons: Ext.Msg.OK,						  					
				   icon: Ext.MessageBox.INFO
				});
			}else{
		     	document.form1.submit();	
			}
	}
		function back()
		{
			history.back(-1);
		}
	</script>
		<link href="<%=basePath%>style/txlz7.css" rel="stylesheet" type="text/css" />
			<link rel="stylesheet" type="text/css" href="<%=basePath %>ajaxFramework/ext-2.1/resources/css/ext-all.css" />
	<script type="text/javascript" src="<%=basePath %>ajaxFramework/ext-2.1/adapter/ext/ext-base.js"></script>
	<script type="text/javascript" src="<%=basePath %>ajaxFramework/ext-2.1/ext-all.js"></script>
	<script type="text/javascript" src="<%=basePath %>ajaxFramework/jQuery/jquery.js"></script>
	<script type="text/javascript" src="<%=basePath %>js/common/global/validator.js"></script>
	<script type="text/javascript" src="<%=basePath %>js/common/global/pageControl.js"></script>
	<script type="text/javascript" src="<%=basePath %>js/common/system/selectusercheck.js"></script>
	<script type="text/javascript" src="<%=basePath%>FCKeditor/fckeditor.js"></script>
	</head>
	<body>
	<form action="<%=basePath%>tjsinfo/tjsoa/worksummary/saveExamine.do" method="post" name="form1">
	<input type="hidden" value="<%=id%>" name="id"/>
		<div id="right">
		  <div style="height:93%">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td background="images/contacttitle01.gif" width="28" height="26"></td>
					<td class="td1px">
						批示页面
					</td>
					<td background="images/contacttitle03.gif" width="72" height="26">
						&nbsp;
					</td>
				</tr>
			</table>
			<div class="contact_content">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td background="images/bghui.gif" width="99%" height="98">
							&nbsp;
						</td>
					</tr>
					<tr>
						<td align="center">
							<div>
								<table width="478" border="0" cellpadding="0" cellspacing="0">
									<tr>
										<td height="24" align="left" background="images/small_07.gif">
											<table width="99%" border="0" cellspacing="0" cellpadding="0">
												<tr>
													<td width="8%" align="center"
														style="padding-left: 15px; padding-top: 3px;">
														<img src="images/m_icon11.gif" />
													</td>
													<td width="92%"
														style="padding-left: 10px; color: #FFFFFF; font-weight: bold; padding-top: 3px">
														领导批示
													</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td height="109" class="zz">
											<table width="90%" height="80%" border="0" cellspacing="0"
												cellpadding="0" class="researchtab">
												<tr>
													<td align="left">
														请输入要批示的意见：
													</td>
												</tr>
												<tr>
													<td width="100%" align="left">
														<textarea name="contest" id="contest" cols="60"
															rows="15"></textarea>
													</td>
												</tr>
												<tr>
													<td>
														&nbsp;
													</td>
												</tr>
												<tr>
													<td>
														<a href="javascript:submitform1()"><img src="images/baocun.gif" />
														</a>&nbsp;
														<%
											if((Integer)request.getAttribute("start") == 1)
											{
										%>
											<a href="<%=basePath %>tjsinfo/tjsoa/worksummary/workSummaryList.do?start=1"><img src="images/fanhui.gif" width="71"
												height="21" />
											</a>
											<input name="start" value="1" type="hidden"/>
										<% 		
											}
											else if((Integer)request.getAttribute("start") == 2)
											{
										%>
											<a href="<%=basePath %>tjsinfo/tjsoa/worksummary/workSummaryList.do?start=2"><img src="images/fanhui.gif" width="71"
												height="21" />
											</a>
											<input name="start" value="2" type="hidden"/>
										<%		
											}
										%>
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
			</div>
		  </div>	
		</div>
	</form>
	</body>
</html>
